package com.wwt.server.properties;

import lombok.Data;
import org.springframework.stereotype.Component;

@Component
//@ConfigurationProperties(prefix = "jwt")
@Data
public  class JwtProperties {
//    @Value("${jwt.tokenHeader}")
//    public String tokenHeader;
//    @Value("${jwt.secret}")
//    public static String  secret;
//    @Value("${jwt.tokenHead}")
//    public String  tokenHead;
//    @Value("${jwt.expiration}")
//    public static int  expiration;
    public String tokenHeader= "Authorization";
    public static String  secret="yeb-secret";
    public String  tokenHead="Bearer";
    public static int  expiration=604800;
}
